/* Filename: alarm.c
 * Description:
 * Last modified: humble 20200328 17:38
 */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

static void usage(void);

int main(int argc, char **argv)
{
    if(argc != 1){
        fprintf(stderr, "argc !=1");
        usage();
        exit(1);
    }

    alarm(1);
    alarm(5);
    alarm(10);

    while(1)
        pause();

    return 0;
}

static void usage(void)
{
#define USAGE "Usage:\n\
  Helloworld\n"
    printf(USAGE);
}
